<?php
// Запрет прямого доступа.
defined('_JEXEC') or die;

// Данные по сортировке.
$listDirn = $this->escape($this->state->get('list.direction'));
$listOrder = $this->escape($this->state->get('list.ordering'));
$saveOrder = $listOrder == 'ordering';

?>
<tr>
    <th width="1%" class="nowrap center hidden-phone">
        <?php echo JHtml::_('searchtools.sort', '', 'ordering', $listDirn, $listOrder, null, 'asc', 'JGRID_HEADING_ORDERING', 'icon-menu-2'); ?>
    </th>
    <th width="1%" class="hidden-phone">
        <?php echo JHtml::_('grid.checkall'); ?>
    </th>

    <th width="1%" style="min-width:55px" class="nowrap center">
        <?php echo JHtml::_('searchtools.sort', 'JSTATUS', 'state', $listDirn, $listOrder); ?>
    </th>

    <th>
        <?php echo JHtml::_('searchtools.sort', 'COM_CALC_CALC_HEADING_CAPTION', 'caption', $listDirn, $listOrder); ?>
    </th>
    <th>
        <?php echo JText::_('COM_CALC_CALC_HEADING_DESCRIPTION'); ?>
    </th>
    <th>
        <?php echo JText::_('COM_CALC_CALC_CALC_FORMULA'); ?>
    </th>

    <th width="1%" class="nowrap hidden-phone">
        <?php echo JHtml::_('searchtools.sort', 'COM_CALC_CALC_CALC_ID', 'id', $listDirn, $listOrder); ?>
    </th>    

</tr>